WCPM\Classes\Helpers C

Total Complexity 119
Dependencies 8
Dependents 14
Total lines 490
Lines of code 284
Logical lines of code 182
Comment lines 116
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
get_user_data()
D
39 50 42
generic_sanitization()
S
54 7 23
format_decimal()
S
53 6 23
is_orders_page()
S
69 5 5
is_admin_page()
S
65 4 9
is_dashboard()
S
63 3 10
is_allowed_notification_page()
S
64 3 9
get_random_ip()
S
63 3 10
is_iframe()
S
68 3 7
get_facebook_fbevents_js_url()
S
64 3 10
is_experiment()
S
79 2 3
hash_string()
S
70 2 6
sanitize_string()
S
70 2 6
get_percentage()
S
77 2 3
get_user_country_code()
S
72 2 6
get_e164_formatted_phone_number()
S
65 2 9
is_wc_hpos_enabled()
S
77 2 3
get_user_object_state()
S
65 1 8
get_user_object_last_name()
S
66 1 8
get_user_object_city()
S
65 1 8
get_user_object_postcode()
S
67 1 7
get_user_object_country()
S
68 1 7
should_all_s2s_requests_be_sent_blocking()
S
78 1 3
get_user_object_phone()
S
62 1 10
get_input_vars()
S
74 1 4
get_user_object_first_name()
S
66 1 8
get_user_object_email()
S
66 1 8
get_user_data_object()
S
75 1 4
wp_strtotime_to_unix_timestamp()
S
77 1 3
trim_string()
S
67 1 7
clean_product_name_for_output()
S
78 1 3
is_url()
S
79 1 3
is_email()
S
79 1 3
is_edit_order_page()
S
79 1 3
has_scheduled_action()
S
78 1 3